package com.learn.databinding.bindingadapters

import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.view.View
import android.view.ViewGroup
import android.view.ViewGroup.LayoutParams
import androidx.activity.enableEdgeToEdge
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.ViewCompat
import androidx.core.view.WindowInsetsCompat
import androidx.core.view.updateLayoutParams
import androidx.databinding.BindingAdapter
import com.exercise.struct.base.BaseDataBindingActivity
import com.learn.databinding.R
import com.learn.databinding.databinding.ActivityBindingAdaptersBinding

class BindingAdaptersActivity : BaseDataBindingActivity<ActivityBindingAdaptersBinding>() {
    override val layoutResId: Int
        get() = R.layout.activity_binding_adapters

    override fun setToolbar() {
        mToolbar.setTitle("BindingAdapters")
    }

    override fun initView() {
    }



    companion object {

        fun start(context: Context) {
            Intent(context, BindingAdaptersActivity::class.java)
                .also { context.startActivity(it) }
        }
    }

}